package org.yelongframework.ognl;

import org.yelongframework.core.property.value.PropertyValueGetException;
import org.yelongframework.core.property.value.PropertyValueGetter;

/**
 * OGNL属性值获取器
 * 
 * @since 1.0.0
 */
public class OgnlPropertyValueGetter implements PropertyValueGetter {

	// ==================================================获取属性值==================================================

	@Override
	public Object getPropertyValue(Object obj, String property) throws PropertyValueGetException {
		return new OgnlWrapper(obj).getValue(property);
	}

}
